package com.yang.design.create.singletonPattern;

public class Singleton_02 {
    private static Singleton_02 instance;
    private Singleton_02(){}

    public static Singleton_02 getInstance(){
        if (instance == null){
            instance = new Singleton_02();
        }
        return instance;
    }


}
